export interface ModelPage {
  pageNo: string | number;
  pageSize: string | number;
  name: string;
}

export interface ModelId {
  id: number | string;
}

interface AddList {
  total: number | string;
  itemClass: number | string;
  itemData: number | string;
  item1Class: number | string;
  item1Data: number | string;
  guidance: string;
  badge: string;
  bgImage: string;
  effect: string;
  isSelected: boolean;
  [key: string]: any;
}

export interface ModelAdd {
  id: number | string;
  name: string;
  items: Array<AddList>;
}

interface dataBaseModel {
  pageNo: number;
  pageSize: number;
  total: number;
  data: Array<Record<string, any>>;
  [key: string]: any;
}

export interface DataResult<T = any> {
  code: number;
  data: dataBaseModel;
  message: string;
}
